<?php
/**
 * qBase is the internal framework of InnoMarketing all rights reserved
 * 
 * @package qBase
 *
 */

// Set start time
// list($usec, $sec) = explode(' ', microtime());

define("__SCRIPT_START_FLOAT", microtime(true));

error_reporting(E_ALL & (~E_NOTICE));

/**
 * Define the base path of the framework
 *
 */
define("__QBasePath", rtrim(dirname(__FILE__), "/\\") . "/");

/**
 * First include QObject because QAutoload needs it
 */
require_once(__QBasePath . "base/QObject.php");
/**
 * Next we register the error handler
 */
require_once(__QBasePath . "base/QErrorHandler.php");
/**
 * Include Autoload, it's basic usage
 */
require_once(__QBasePath . "base/QAutoload.php");
/**
 * Include the initialization class of the framework
 */
require_once(__QBasePath . "base/QBaseInit.php");

/**
 * Initialize qBase
 */
QBaseInit::Init();

/**
 * Alias for mysql_real_escape_string
 *
 * @param string $string
 * @return string
 */
function _mySC($string)
{
	return mysql_real_escape_string($string);
}

?>